﻿@model IEMSOFT.EasyHotel.Admin.Models.PrintMonthModel
<div id="divPrintMonthReportConfirm">
    <table align="center" border="0"  width="100%">
        <tbody>
            <tr>
                <td align="center">
                   @Model.SubHotelName @Model.StartMonth 到 @Model.EndMonth 月报表
                </td>
            </tr>
        </tbody>
    </table>
    <table align="center" border="1" rules="all"  width="100%" >
        <thead>
            <tr>
                <th field="month">月份</th>
                <th field="billsCount">订单数</th>
                <th field="billsRoomTotalFee">房费</th>
                <th field="billsConsumeTotalFee">消费</th>
                <th field="billsTotalFee">累计</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model.Reports)
            {
                <tr>
                    <td align="center">
                        @item.Month
                    </td>
                    <td align="center">
                        @item.BillsCount
                    </td>
                    <td align="center">
                        @item.BillsRoomTotalFee
                    </td>
                    <td align="center">
                        @item.BillsConsumeTotalFee
                    </td>
                    <td align="center">
                        @item.BillsTotalFee
                    </td>
                </tr>
            }
            <tr >
                <td colspan="5" rowspan="4">
                    总订单数：@Model.BillsCountSum
                    <br />
                    总房费：@Model.RoomFeeSum
                    <br />
                    总消费：@Model.ConsumeFeeSum
                    <br />
                    合计：@Model.TotalFee
                </td>
            </tr>
        </tbody>
    </table>
</div>
